package cc.lj.internal.merchant.infrastructure.repository;

import cc.lj.internal.core.exception.ServiceException;
import cc.lj.internal.merchant.domain.contract.repository.IMerchantContractSignedRepository;
import cc.lj.internal.merchant.infrastructure.dao.IMerchantContractSignedMapper;
import cc.lj.internal.merchant.infrastructure.exception.MerchantExceptionEnum;
import cc.lj.internal.merchant.infrastructure.po.MerchantContractSignedPO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * 商户合同签订表　仓储实现
 * @author liangxifeng
 * @date 2021-12-24
 */
@Repository("merchantContractSignedRespository")
public class MerchantContractSignedRespository implements IMerchantContractSignedRepository{
    @Resource(name = "merchantContractSignedMysqlRespository")
    private IMerchantContractSignedRepository signedRepository;


    @Override
    public List<MerchantContractSignedPO> getList(MerchantContractSignedPO entityPO) {
        return signedRepository.getList(entityPO);
    }
}
